home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
faq-s.zip
/
VALID.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-09-03
|
1KB
|
52 lines
(* The HAvok Quick sysOp validation program written by the Shocker.
This Reads a Validrec from gentypes (a record) and writes what the user inputs
to it...so if the dude types false shit he will get caught in the waitcall
routine...so it should work...if not fuck yourself asshole *)
Program Valid;
uses dos,crt,gentypes;
type validrec=record
SysOp:ANYSTR;
Board:ANYSTR;
SERIAL:INTEGER;
VALID:BOOLEAN;
end;
var
a:validrec;
f,d,c,r,g,h:string[255];
s:text;
Begin
f:='The Shocker';
d:='AfterShock';
c:='Grim Reaper';
r:='The Edge Of Sanity';
g:='Louder Than Bombs';
h:='The Seventh Sign';
clrscr;
Writeln('Havok Quick SysOp Validation Utility - By Havok,INC 1990');
Writeln('Written By - The Shocker ');
Write('[SysOp Name]:');
ReadLn(a.Sysop);
if ( a.sysop=f) or ( a.SysOp=d ) or ( a.sysop=c ) then
Write('[Board Name]:');
readln(a.board);
if (a.board=r) or
( a.board=g ) or
( a.board=h ) then
Write('[Enter Serial Number]:');
Readln(a.serial);
if (a.serial=666) or
(a.serial=911) or (a.serial=1082) then begin
a.Valid:=true;
assign(s,'Register.Dat');
rewrite(s);
WriteLn(s,a.Sysop);
WriteLN(s,a.Board);
WriteLN(s,a.Serial);
Close(s);
end
else
a.valid:=false;
WriteLN('The Info You Gave is False');
Inline($CD21);
end.